import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import 'assets/css/reset.css'
import vueDrag from './assets/utils/vue-drug.js'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import 'assets/css/public.css'
import 'assets/css/screen.css'
import * as echarts from 'echarts';
import HappyScroll from 'vue-happy-scroll'
import 'vue-happy-scroll/docs/happy-scroll.css'
import { $iscode, $CircleShow ,$CircleLei} from './utils/tools.js'
import animated from 'animate.css'
Vue.prototype.$iscode = $iscode;
Vue.prototype.$CircleShow = $CircleShow;
Vue.prototype.$CircleLei=$CircleLei;
Vue.prototype.$map = '';
// http://tbknew.mpcheshi.com
Vue.prototype.$globalWebsocketUrl = (process.env.NODE_ENV == 'development' ? 'http://tbknew.mpcheshi.com/mpsh/websocket' : '/mpsh/websocket');

Vue.use(animated)
Vue.use(HappyScroll)

Vue.use(ElementUI);
Vue.use(vueDrag)

Vue.prototype.$echarts = echarts
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
